package com.collaboration.proton.dao;

import com.collaboration.proton.entities.Player;
import com.collaboration.proton.entities.SingleAgencyInfo;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
/**
 * @author vybfi
 * @param
 * @return 无
 */
@Repository
public interface SingleAgencyInfoRepository extends CrudRepository<SingleAgencyInfo, Long> {
    @Override
    List<SingleAgencyInfo> findAll();

    List<SingleAgencyInfo> findAllByPlayer(Player player);

}